/**
 * Created by huangying on 16/11/17.
 */
var storage = window.localStorage;
var storage_admin_id = localStorage.getItem("_storage_admin_id");

console.log("storage_admin_id:" + storage_admin_id)

//显示大图
$(document).on('click', '.carrousel_img', function () {
    var _img = $(this).attr('src');
    $(".carrousel").find("img").attr("src", _img);
    $(".carrousel").fadeIn(200);
});

//关闭大图
$(document).on('click', '.carrousel', function () {
    $(".carrousel").find("img").attr("src", '');
    $(".carrousel").fadeOut(200);

});

//退出登录
$(document).on('click', '#log_off', function () {
    localStorage.removeItem("_storage_admin_id");
    location.reload();
});